﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jzy.Core.Common;
using FortuneHeavenCommon.DataMap;
using FortuneHeavenDAL;

namespace FortuneHeavenBAL
{
    public class GameShowBO : CommonOperate<GameShow>
    {
        public GameShowDAL _gameShowDAL;
        public GameShowBO()
            : base()
        {
            _gameShowDAL = new GameShowDAL();
        }

        public List<GameShow> GetGameShows(int page, int size)
        {
            return _gameShowDAL.GetGameShows(page, size);
        }

        public int GetTotalSize()
        {
            return _gameShowDAL.GetTotalSize();
        }

        public int GetTotalSizeByType(int type)
        {
            return _gameShowDAL.GetTotalSizeByType(type);
        }

        public List<GameShow> GetGameShowsByType(int page, int size,int type)
        {
            return _gameShowDAL.GetGameShowsByType(page, size,type);
        }

    }
}
